package behaviorpattern.state;

public class Client {

	public static void main(String[] args) {
		Work w = new Work();
		
		for(int i = 9; i < 17; i ++) {
			w.setHour(i);
			w.writeProgram();
		}
		
		w.setHour(19);
		w.writeProgram();
		w.setHour(22);
		w.writeProgram();
	}
}
